package com.xyj.singleton;

/**
 * 😋饿汉模式
 */
public class HurrySingleTon {

    private HurrySingleTon(){}

    public static HurrySingleTon instance=new HurrySingleTon();

    public static HurrySingleTon getInstance(){
        return instance;
    }
}
